package com.dog.service;

import com.dog.dao.VacancyDAO;
import com.dog.model.ContactPerson;
import com.dog.model.Vacancy;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author <a href="mailto:sand_by@mail.ru">Andrew Sakhno</a> 26.04.2010
 */
public interface IVacancyService extends IBaseService<VacancyDAO, Vacancy> {

    Vacancy getByIdWithContactPersons(Long vacancyId);

    void addContactPerson(Long vacancyId, Long contactPersonId);

    void deleteContactPerson(Long vacancyId, Long contactPersonId);

}
